body {
  margin: 0;
  font-size: 16pt;
}
.confHead {
  font-size: 1.5em;
}
.login {
  width:100%;
  display: flex;
  justify-content: center;
    font-size: 18pt;
   padding: 0;
   margin: 0;  
}
.loginReg{
  width: 100%;
  background-color: white;
}

a:not(.dateChange, .simpleA) {
  background-color: #d1ab7f;
  color: black;
  text-decoration: none;
}
.alertMessage{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.97);
  color: rgb(173, 24, 24);
  font-size: 18pt;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.alertMessageClose{
  margin-top: 30px;
  font-size: 14pt;
  background-color: #d1ab7f;
  color: black;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
}
.companyHeading {
  margin: 0;
  padding: 0;
  color: black;
}
.qtyInput {
  font-size: 1em;
  width: 60px;
}
.defaultlabel {
  font-size: 1em;

  padding-right: 5px;
  padding-left: 5px;
}
.disc_label {
  white-space: nowrap;
}

ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #d1ab7f;
  font-size: 1.4em;
}

ul.topnav li {
  float: left;
}

ul.topnav li a {
  display: block;
  color: black;
  text-align: center;
  padding: 8px 16px;
  text-decoration: none;
}
a.active:hover,
.rightSide a:hover:not(.other) {
  background-color: #473816;
  color: white;
}

.dateChange:hover {
  background-color: #e7931a;
  color: white;
}


.dateChange {
  background-color: #d1ab7f;
  color: blacke;
  text-decoration: none;
  font-size: 0.7em;
  padding-right: 8px;
  padding-left: 8px;
  padding-top: 0px;
  padding-bottom: 0px;
  border-radius: 2px;
}
a.active {
  background-color: #d1ab7f;
}

ul.topnav li.right {
  float: right;
}
ul.topnav li a.custName {
  font-size: 0.9em;
}
#saveorder {
  background-color: #e75035;
  color: black;
  text-decoration: none;
  font-size: 1.4em;

  padding-right: 8px;
  padding-left: 8px;
  padding-top: 0px;
  padding-bottom: 0px;
  border-radius: 5px;
  border-color: #000;
}
.saveorder {
 
  color: black;
  text-decoration: none;
  font-size: 1.4em;

  padding-right: 8px;
  padding-left: 8px;
  padding-top: 0px;
  padding-bottom: 0px;
  border-radius: 5px;
  border-color: #000;
}
#saveorder:hover, .saveorder:hover {
  background-color: #f03211;
  color: white;
  border-width: 5px;
  border-style: inset;

}
.orderDateSpan {
  padding: 0px;
  margin: 0px;
  font-size: 1.5em;
}
.showDate {
  padding: 0px;
  margin: 0px;
}

.ordergrid {
  margin-left: 0px;
  margin-right: auto;
  border-collapse: collapse;
  background-color: #fff;
}

.pastordergrid {
  margin-left: 0px;
  margin-right: auto;
  border-collapse: collapse;
}
.ordergridColQty {
  width: 10%;
}
.ordergridColCode {
  width: 16%;
}

.helpDiv1 {
  background-color: white;
  font-size: 1em;
  width: 100%;
}

.orderDiv {
  background-color: white;
  font-size: 1em;
  float: left;
  width: 65%;
}
.OrdMemo {
  font-size: 0.9em;
  font-weight: bold;
  padding-left: 20px;
  background-color: #e6e6e6;
}
.OrdMemo1 {
  font-size: 1.1em;
  padding-left: 20px;
  background-color: #e6e6e6;
}
.ordNote {
  font-size: 1.2em;
  width: 85%;
}
.orderChangedtop {
  font-size: 1.1em;
  color: #a83925;
}
.promo {
  font-size: 1em;
}
.orderHeadRow {
  font-size: 1em;
}
.promo img {
  width: 480px;
  height: auto;
}
.rightSide {
  color: black;
  font-size: 1em;
  background-color: #e6e6e6;
  float: right;
  width: 35%;
}

.pastOrders {
  max-height: 500px;
  overflow-y: scroll;
}
.prodSearch {
  max-height: 500px;
  overflow-y: scroll;
}
.customer {
  max-height: 500px;
  overflow-y: scroll;
}

.pastordergrid {
  font-size: 0.85em;
}
.topBox {
  max-height: 500px;
  overflow-y: scroll;
}
.pOrders {
  display: block;
  color: blacke;
  text-align: center;
  padding: 8px 16px;
  text-decoration: none;
  background-color: #d1ab7f;
}

.promoLink {
  border-style: solid;
  border-color: #473816;
  overflow-y: hidden;
  color: #ffffe6;
}

ul.CustListInfo {
  list-style-type: none;
  margin: 0;
  padding: 4px;
  overflow: hidden;
}

#dialogoverlay {
  display: none;
  opacity: 0.8;
  position: fixed;
  top: 0px;
  left: 0px;
  background: #fff;
  width: 100%;
  height: 100%;
  z-index: 10;
}
#dialogbox {
  display: none;
  position: fixed;
  background: #000;
  border-radius: 7px;
  z-index: 10;
}
#dialogbox > div {
  background: #fff;
  margin: 2px;
}
#dialogbox > div > #dialogboxhead {
  background: #e6e6e6;
  font-size: 1.6em;
  padding: 10px;
  color: black;
}
#dialogbox > div > #dialogboxbody {
  background: #ffffe6;
  font-size: 1em;
  padding: 20px;
  color: black;
}
#dialogbox > div > #dialogboxfoot {
  background: #e6e6e6;
  font-size: 1.25em;
  padding: 10px;
  text-align: right;
}
.dateTimeSpan {
  padding: 0px;
  padding-left: 24px;
  margin: 0px;
  color:orangered;
  font-size: .65em;
}


@media screen and (max-width: 700px) {
  #dialogbox {
    position: absolute;
  }

  ul.topnav li.right,
  ul.topnav li {
    float: none;
  }

  .orderDiv {
    float: none;
  }
  .custInfo {
    float: none;
  }

  .orderDiv {
    width: 100%;
  }
  .rightSide {
    width: 100%;
  }
}

@media screen and (orientation: portrait) {
  #dialogbox {
    position: absolute;
  }

  ul.topnav li.right,
  ul.topnav li {
    float: none;
  }

  .orderDateSpan {
    font-size: 1.3em;
  }

  .custInfo {
    float: none;
  }

  .rightSide {
    width: 100%;
  }

  .orderDiv {
    float: none;
    width: 100%;
  }

  .orderChangedtop {
    font-size: 0.8em;
  }
  .orderHeadRow {
    font-size: 0.8em;
  }
  .qtyInput {
    font-size: 1.2em;
    width: 60px;
  }

  .defaultlabel {
    font-size: 1.1em;
    width: 80px;
    padding-right: 8px;
    padding-left: 5px;
  }
  .disc_label {
    font-size: 0.8em;
  }
  .ordergrid table,
  th,
  td {
    border: 1px solid burlywood;
  }
  ul.topnav {
    font-size: 1.2em;
  }
}
